package org.ilead.iserve.dao;

import java.util.List;

import org.ilead.iserve.model.UserPermissionList;

public interface IUserPermissionListDAO {
	// property constants
	public static final String CODE = "code";
	public static final String NAME = "name";

	public abstract void save(UserPermissionList transientInstance);

	public abstract void delete(UserPermissionList persistentInstance);

	public abstract UserPermissionList findById(java.lang.Integer id);

	public abstract List findByExample(UserPermissionList instance);

	public abstract List findByProperty(String propertyName, Object value);
	
	public abstract List findByCode(Object code);

	public abstract List findAll();

	public abstract UserPermissionList merge(UserPermissionList detachedInstance);

	public abstract void attachDirty(UserPermissionList instance);

	public abstract void attachClean(UserPermissionList instance);
}
